<?php
class control_home extends base_control {
	function __construct(){
		parent::__construct();
	}
	
	#首页部份
	function index($id=''){
		$db=get_db();
		$prodmod=module('home');	
		debug($db->fetchAll('select * from `#__admin` limit 3'));
		$this->assign('test',$test);
	}
			
}
?>